Channel: Rachit Jain
Category: Education
Tags: algorithmsflipkartmotivationprogrammerleetcode solutionsdeveloper bhaiyaleetcodegooglecoding interview prepmicrosoftcoding tutorialsdata sturcturesamazongoldman sachsinterview questionsleetcode coding interviewcoding interview problemsds algosoftware engineeringsoftware engineerlife lessonsprogrammingcoding interviews
Description: In this video, we understand what are B-Trees, how they work, how we leverage them to create indexes in Databases, how they are different from LSM Trees, the pros and cons of B-Trees, etc. The DDIA Book is a great recommendation for System Design and I would like to summarise the chapters and my learnings here. References DDIA Book: amzn.to/3B6TJcm System Design Playlist: bit.ly/system-design-course Sponsored By Educative.io โ ๐๐ฑ๐๐ฐ๐ฎ๐๐ถ๐๐ฒ.๐ถ๐ผ [46% OFF] ๐๐ปbit.ly/educative-unlimited-extra-discount Educative.io coupon "rachit" to get extra discount or use the link above to get "Unlimited" access to "ALL" courses on their websites - React, System Design, Coding Interview in C++, Python, Java, Redux, Docker and what not! Chapters 00:00 Sponsor 0:28 Preview of B-Tree Insertion Animation 0:46 Introduction to B-Trees 1:46 Short Recap of LSM Trees 2:22 How B-Trees are different? 3:21 How B-Trees Work? 5:55 How are Reads processed in B-Trees? 7:03 How B-Trees make Reads faster? 9:06 How B-Trees Handle Page Splits During Writes? 10:55 Summary of how Writes are processed in B-Trees 11:57 Write Ahead Log - How Crashes Are Handled in B-Trees? 12:51 Difference Between LSM Trees v/s B-Trees Indexing 16:30 Primary vs Secondary Indexes 17:30 What are Heap Files in B-Tree Indexing? 18:50 What are Clustered Indexes and Why are they needed? 20:03 What are Covering Indexes and their importance? 20:25 Recap of Indexing in DataBases 21:03 Can B-Trees handle MultiColumn Indexes? 22:00 InMemory DataBases like MemSQL 23:55 Animations Showing Insertion and Deletions in B-Trees ๐๐ก๐ง๐๐ฅ๐ฉ๐๐๐ช ๐ฃ๐ฅ๐๐ฃ ๐ฃ๐ฅ๐ข๐๐จ๐๐ง๐ฆ โ ๐๐ฑ๐๐ฐ๐ฎ๐๐ถ๐๐ฒ.๐ถ๐ผ [10% OFF for First 90 Users] ๐๐ปeducative.io/rachit โ ๐ฆ๐๐๐๐ฒ๐บ ๐๐ฒ๐๐ถ๐ด๐ป [Discount for Indian audience] ๐๐ปbit.ly/design-rachit โ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ด ๐๐ผ๐ผ๐ธ๐ [Amazon Affiliate] ๐๐ปamazon.in/shop/rachitjain SUBSCRIBE AND HIT BELL ICON TO CHECK MORE OF MY CONTENT youtube.com/RachitJain?sub_confirmation=1 ๐ฆ๐ข๐๐๐๐ ๐ฃ๐ฅ๐ข๐๐๐๐๐ฆ โ Portfolio Website - rachitiitr.com โ Instagram - instagram.com/rachitiitr โ LinkedIn - linkedin.com/in/rachitiitr โ Twitter - twitter.com/rachitiitr โ Github - github.com/rachitiitr/DataStructures-Algorithms โ Facebook - fb.me/AlgorithmsWithRachitJain ๐๐ ๐ฃ๐ข๐ฅ๐ง๐๐ก๐ง ๐ฃ๐๐๐ฌ๐๐๐ฆ๐ง๐ฆ โ ๐๐ผ๐ฑ๐ถ๐ป๐ด ๐๐ป๐๐ฒ๐ฟ๐๐ถ๐ฒ๐ ๐๐ฒ๐ฐ๐๐๐ฟ๐ฒ๐ ๐๐ปyoutube.com/watch?v=J1JZjhdr3Oo&list=PLfBJlB6T2eOshO8-LYaMt-Pes1IFojJ_l โ ๐๐ฟ๐ฎ๐ฝ๐ต ๐ง๐ต๐ฒ๐ผ๐ฟ๐ ๐ฃ๐น๐ฎ๐๐น๐ถ๐๐ ๐๐ปyoutube.com/watch?v=xyJxCjweLKE&list=PLfBJlB6T2eOu3dTPKzvAf2axlmQUXGY91 โ ๐++ ๐ฆ๐ง๐ ๐ฃ๐น๐ฎ๐๐น๐ถ๐๐ ๐๐ปyoutube.com/watch?v=g-1Cn3ccwXY&list=PLfBJlB6T2eOvyt21CIX_PMmhOgWHiFVab โ ๐ ๐ ๐ฃ๐ฒ๐ฟ๐๐ผ๐ป๐ฎ๐น ๐๐ป๐๐ฒ๐ฟ๐๐ถ๐ฒ๐ ๐๐ ๐ฝ๐ฒ๐ฟ๐ถ๐ฒ๐ป๐ฐ๐ฒ๐ ๐๐ปyoutube.com/watch?v=0Vmtmqa9Og0&list=PLfBJlB6T2eOuUAof03sQFlUcrk_Bc7jOA โ ๐ฃ๐ฟ๐ผ๐ฑ๐๐ฐ๐๐ถ๐๐ถ๐๐ ๐ง๐ถ๐ฝ๐ ๐ฃ๐น๐ฎ๐๐น๐ถ๐๐ ๐๐ปyoutube.com/watch?v=0Vmtmqa9Og0&list=PLfBJlB6T2eOuUAof03sQFlUcrk_Bc7jOA โ ๐๐ถ๐ณ๐ฒ ๐๐ฒ๐๐๐ผ๐ป๐ & ๐ ๐ฒ๐ป๐๐ผ๐ฟ๐๐ต๐ถ๐ฝ ๐๐ปyoutube.com/watch?v=9SGM0EqyUc0&list=PLfBJlB6T2eOv8klCHHNVLOmTOIxKu-xzn ๐ฃ๐ฅ๐ข๐๐ฅ๐๐ ๐ ๐๐ก๐ ๐ฃ๐ฅ๐ข๐๐๐๐๐ฆ โ Github โบ github.com/rachitiitr/DataStructures-Algorithms โ Programming Blog โบ rachitiitr.blogspot.com โ CodeForces โบ codeforces.com/profile/rachitjain โ CodeChef โบ codechef.com/users/rachitiitr